/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package EntityState;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author James
 */
public class CustomerState implements Serializable {
    private String  username;
    private String  password;
    private String  IC;
    private String  firstName;
    private String  lastName;
    private String  address1;
    private String  address2;
    private String  countryCode;
    private String  phone;
    private String  email;
    private String  country;
    private String  city;
    private String  gender;
    private String  timezone;
    private int     loyaltyPoints;
    private boolean active;
    private boolean activated;
    private long    birthday;
    private long    registeredDate;
    private List<ReservationState> listOfReservations;
    
    public CustomerState(boolean active, boolean activated) {
        this.active    = active;
        this.activated = activated;
    }
    
    public CustomerState(String firstName, String lastName, String gender) {
        this.firstName = firstName;
        this.lastName  = lastName;
        this.gender    = gender;
    }

    public CustomerState(String IC, String firstName, String lastName, String gender, String timezone) {
        this.IC        = IC;
        this.firstName = firstName;
        this.lastName  = lastName;
        this.gender    = gender;
        this.timezone  = timezone;
    }
    
    public CustomerState(String IC, String firstName, String lastName, String gender, String timezone, String address1, String address2, String countryCode, String phone, String email, String country, String city, String username, int loyaltyPoints, boolean active, boolean activated, long birthday, long registeredDate) {
        this.IC                 = IC;
        this.firstName          = firstName;
        this.lastName           = lastName;
        this.gender             = gender;
        this.timezone           = timezone;
        this.address1           = address1;
        this.address2           = address2;
        this.countryCode        = countryCode;
        this.phone              = phone;
        this.email              = email;
        this.country            = country;
        this.city               = city;
        this.username           = username;
        this.loyaltyPoints      = loyaltyPoints;
        this.active             = active;
        this.activated          = activated;
        this.birthday           = birthday;
        this.registeredDate     = registeredDate;
    }

    //Getters and Setters:
    public String getIC() {
        return IC;
    }

    public void setIC(String IC) {
        this.IC = IC;
    }

    public String getAddress1() {
        return address1;
    }

    public void setAddress1(String address1) {
        this.address1 = address1;
    }

    public String getAddress2() {
        return address2;
    }

    public void setAddress2(String address2) {
        this.address2 = address2;
    }

    public long getBirthday() {
        return birthday;
    }

    public void setBirthday(long birthday) {
        this.birthday = birthday;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public int getLoyaltyPoints() {
        return loyaltyPoints;
    }

    public void setLoyaltyPoints(int loyaltyPoints) {
        this.loyaltyPoints = loyaltyPoints;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public long getRegisteredDate() {
        return registeredDate;
    }

    public void setRegisteredDate(long registeredDate) {
        this.registeredDate = registeredDate;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public boolean isActivated() {
        return activated;
    }

    public void setActivated(boolean activated) {
        this.activated = activated;
    }

    public String getTimezone() {
        return timezone;
    }

    public void setTimezone(String timezone) {
        this.timezone = timezone;
    }

    public boolean isActive() {
        return active;
    }

    public void setActive(boolean active) {
        this.active = active;
    }
}
